using System;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Text;

namespace Alogient.Cameleon.Forms.Sdk.Items
{
    public enum NumberType
    { 
        Int,
        Float,
        Money
    }

    public class Number : FormElement
    {
        protected NumberType _type = NumberType.Int;
        
        public NumberType Type {
            get
            {
                if (_enum == null)
                    return NumberType.Float;

                return (NumberType)Enum.Parse(typeof(NumberType), _enum);
            }
        }
        public long? MinValue { get { return _long1; } }
        public long? MaxValue { get { return _long2; } }
        public long? DefaultValue { get { return _long3; } }

        public Number(int id, string cultureCode) : base(id, cultureCode) { }
    }
}
